#ifndef ENCRYPTOR_H
#define ENCRYPTOR_H

#ifdef _cplusplus
extern "C"
{
#endif
	// 添加要在此处预编译的标头
#include<stdio.h>
#include<stdlib.h>
//#include<windows.h>
//#include "framework.h"

#ifdef BUILD_DLL
#define EXPORT __declspec(dllexport)
#else
#define EXPORT __declspec(dllimport)
#endif

typedef unsigned char uchar;
EXPORT uchar *encryption(uchar *psk, uchar *c); //加密
EXPORT uchar *decryption(uchar *psk, uchar *ciphertext);//解密

#ifdef _cplusplus
}
#endif
#endif
